#include <ximera/scripting/lua/script.hpp>
#include <ximera/common/utils.hpp>

#include <string>

namespace ximera { namespace scripting { namespace lua
{
    Language Script::language() const
    {
        return Language::Lua;
    }
        
    bool Script::isLoaded() const
    {
        return _isLoaded;
    }

    void Script::data(String const& code)
    {
        string_util::wstr2str(code, _data);
    }
}}}